<?php
/**
 * Created by PhpStorm.
 * User: qingyun
 * Date: 17/2/16
 * Time: 下午3:59
 */
namespace Common\Model;

class AdminModel extends BaseModel
{
    public function get_user_one($value,$key='user_name')
    {
        return $this->where(array($key=>$value))->find();
    }
}